package com.design.pattern.decorator.battercake.v2;/** * create by yufeng on 2021/7/4 15:54 */public class BattercakeDecorator extends Battercake{    private Battercake battercake;    public BattercakeDecorator(Battercake battercake) {        this.battercake = battercake;    }    protected String getMsg(){ return this.battercake.getMsg();}    public int getPrice(){ return this.battercake.getPrice();}}